package com.tancire.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tancire.common.annotation.Excel;
import com.tancire.common.core.domain.TreeEntity;

/**
 * 地址管理对象 sys_address_library
 *
 * @author tancire
 * @date 2024-03-02
 */
public class SysAddressLibrary extends TreeEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 地区名称 */
    @Excel(name = "地区名称")
    private String name;

    /** 是否显示 */
    @Excel(name = "是否显示")
    private String isShow;

    /** 级别 */
    @Excel(name = "级别")
    private Integer level;

    /** 排序 */
    @Excel(name = "排序")
    private Long seq;

    /** $column.columnComment */
    private String delFlag;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }
    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }
    public void setIsShow(String isShow) {
        this.isShow = isShow;
    }

    public String getIsShow() {
        return isShow;
    }
    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getLevel() {
        return level;
    }
    public void setSeq(Long seq) {
        this.seq = seq;
    }

    public Long getSeq() {
        return seq;
    }
    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("isShow", getIsShow())
            .append("level", getLevel())
            .append("seq", getSeq())
            .append("parentId", getParentId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
